package com.hlkj.warboot.configurer.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @Description RSA密钥
 * @Author 李星
 * @Date 2019/6/29 22:50
 */
@Component
@PropertySource("classpath:config.properties")
@ConfigurationProperties(prefix = "rsa")
@Data
public class RsaProperties {
    private String publicKey; // 公钥
    private String privateKey; // 私钥
}
